package com.common.constants.code;

public class DatabaseCode{
	
	private final static int TYPE = 1;
	/**
	 * 数据库查询失败
	 */
	public final static ResultCode ERROR_SYSTEM_DATABASE_QUERY 
		= new ResultCode("DB000001", "ERROR_SYSTEM_DATABASE_QUERY", "数据库查询失败！", TYPE);
	
	/**
	 * 数据库存储失败
	 */
	public final static ResultCode ERROR_SYSTEM_DATABASE_INSERT
		= new ResultCode("DB000002", "ERROR_SYSTEM_DATABASE_INSERT", "数据库存储失败！", TYPE);

	/**
	 * 数据库更新失败
	 */
	public final static ResultCode ERROR_SYSTEM_DATABASE_UPDATE
		= new ResultCode("DB000003", "ERROR_SYSTEM_DATABASE_UPDATE", "数据库更新失败！", TYPE);

	/**
	 * 数据库删除失败
	 */
	public final static ResultCode ERROR_SYSTEM_DATABASE_DELETE
			= new ResultCode("DB00004", "ERROR_SYSTEM_DATABASE_DELETE", "数据库删除失败", TYPE);
	
}
